home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / Preset_BallsAndBubbles_Molec < prev    next >
Encoding:
Text File  |  2003-06-06  |  2.0 KB  |  64 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'Red molecular models',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 100, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (128,128,128), 
  20.                 'Direction': (0.547199,0.659558,-0.515322), 
  21.                 'HighlightSize': 24
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.true, 
  24.                 'Color': (37,60,0), 
  25.                 'Direction': (0.1429,-0.8772,0.6574), 
  26.                 'HighlightSize': 22
  27.                 }]
  28.             }, 
  29.         'Mode': App.Constants.CountType.Multiple, 
  30.         'Multiple': {
  31.             'AverageSize': 35, 
  32.             'Coverage': 45, 
  33.             'CreateMethod': App.Constants.BubbleCreateMethod.Intersecting, 
  34.             'SizeVariation': 0
  35.             }, 
  36.         'RandomSeed': 14565, 
  37.         'RandomizePlacement': App.Constants.Boolean.false, 
  38.         'Single': {
  39.             'MaxPossibleSize': App.Constants.Boolean.true
  40.             }, 
  41.         'Surface': {
  42.             'Material': {
  43.                 'Color': (255,0,0), 
  44.                 'Pattern': None, 
  45.                 'Gradient': None, 
  46.                 'Texture': None, 
  47.                 'Identity': 'Material'
  48.                 }, 
  49.             'BumpMap': {
  50.                 'Active': App.Constants.Boolean.false
  51.                 }, 
  52.             'EnvironmentMap': {
  53.                 'Active': App.Constants.Boolean.false
  54.                 }, 
  55.             'Gloss': 99, 
  56.             'Opacity': 100, 
  57.             'Shininess': 100
  58.             }
  59.         }
  60.  
  61. def Do(Environment):
  62.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  63.  
  64.